//
//  SettingItem.m
//  SinaWebo
//
//  Created by wwj on 16/1/18.
//  Copyright © 2016年 亦心. All rights reserved.
//

#import "SettingItem.h"

@implementation SettingItem
+(instancetype)initWithIcon:(NSString *)icon title:(NSString *)title{
    SettingItem *item=[[self alloc]init];
    item.icon=icon;
    item.title=title;
    return item;
}

+(instancetype)initWithIcon:(NSString *)icon title:(NSString *)title subTitle:(NSString *)subTitle{
    SettingItem *item = [self initWithIcon:icon title:title];
    item.subTitle = subTitle;
    return item;
}
@end
